package com.mzy.linear_struct.hot100.链表;

class ListNode {
    int val;
    ListNode next;

    public ListNode() {

    }

    public ListNode(int x) {
        val = x;
        next = null;
    }


    public ListNode(int x, ListNode next) {
        val = x;
        this.next = next;
    }
}